#ifndef IFCONDITIONDIALOG_H
#define IFCONDITIONDIALOG_H

#include <QDialog>
#include <QModelIndex>
#include <QStandardItemModel>
#include <QStandardItem>

namespace Ui {
class IfConditionDialog;
}

class IfConditionDialog : public QDialog
{
    Q_OBJECT

public:
    explicit IfConditionDialog(int styleId,QWidget *parent = 0);
    ~IfConditionDialog();

signals:
    void sendCondition_signal(QString condition);
private slots:
    void on_back_Btn_clicked();

    void on_button_select_clicked();

private:
    void initialDisplayStyle(int styleId);
    void setTemplateList(QStringList fileList);

private:
    Ui::IfConditionDialog *ui;
    QStandardItemModel* model;


};

#endif // IFCONDITIONDIALOG_H
